export default class MusicUtil {

  public audio: HTMLAudioElement;

  constructor() {
    const audio = new Audio("/music/touch.wav");
    document.body.append(audio);
    audio.loop = false;
    audio.load();
    this.audio = audio;
  }

  public play() {
    this.audio.currentTime = 0;
    this.audio.play();
  }

}
